using System.Web.Mvc;
using Animoso.Data;
using Animoso.Data.Database;

namespace Animoso.Web.Controllers
{
    public class DatabaseController : Controller
    {
        //[Authorize]
        public void Create()
        {
            Database database = new Database();
            database.CreateSchema();
            new TestData();
        }

        //[Authorize]
        public void Update()
        {
            Database database = new Database();
            database.UpdateSchema();
        }

    }
}
